Uploaded image for project: 'OASIS Cloud Application Management for Platforms (CAMP) TC'
  1. OASIS Cloud Application Management for Platforms (CAMP) TC
  2. CAMP-193

handling of 'sensor_type' attribute of 'sensor resource' is vague

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: Spec
    • Labels:
      None
    • Environment:

      Section numbers as per WD 04 of CAMP 1.2.

      Description

      The section that describes the 'sensor_type' attribute of the 'sensor resource' (section 5.26.3 in WD 04) reads:

      This attribute specifies the type of the data that this sensor resource collects. For example, "String", "Timestamp". Attribute types are defined in Section 5.2, “Attribute Types”. type_definitions may also be used to specify types. See Section 5.18, “type_definitions Resource”.

      When we say 'type_definitions may also be used' it's not clear what Consumers should expect the value of this attribute to be. One could guess that the value is supposed to be the name of the type, but that would only be a guess. An equally valid guess might be the URI of the 'type_definition resource' that defines the type of the sensor. In any case there is an interoperability problem here in that independent implementations might make different, but equally valid, guesses.

        Attachments

          Activity

            People

            • Assignee:
              gilbert.pilz Gilbert Pilz
              Reporter:
              gilbert.pilz Gilbert Pilz
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: